package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 风控消费记录
 * </p>
 *
 * @author 
 * @since 2023-05-27
 */
@Getter
@Setter
@TableName("ml_risk_cost_record_info")
public class RiskCostRecordInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 日期
     */
    private String dateInfo;

    /**
     * 配置ID
     */
    private Integer configId;

    /**
     * 配置名称
     */
    private String configName;

    /**
     * 请求数量
     */
    private Integer requestNumber;
    private Integer finishNumber;

    /**
     * 收费数量
     */
    private Integer chargeNumber;
    private Integer freeNumber;

    /**
     * 消耗金额
     */
    private BigDecimal costAmount;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;


}
